﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InsuranceCompany.Core.Domain.Objects;

namespace InsuranceCompany.Core.Domain.InsuranceObjects
{
    public class InsuranceEvent : Event
    {
        public Document Document { get; set; }

        public InsuranceEvent() :base()
        {
            Document = null;
        }

        public InsuranceEvent(InsuranceEvent ie) :base(ie)
        {
            Document = ie.Document;
        }

        public InsuranceEvent(Document doc) :base()
        {
            Document = doc;
        }
        public InsuranceEvent(DateTime dt, string description, Document doc) :base(dt, description)
        {
            Document = doc;
        }
    }
}
